package com.example.demo.entity.dto;

import lombok.Data;
import lombok.NonNull;
import org.apache.logging.log4j.message.Message;

import javax.validation.constraints.NotEmpty;

/**
 * @author: ak
 * @date: 2020/5/5 21:31
 * @description:
 */
@Data
public class TaskDTO {
    private Long startTime;
    private Long endTime;
    @NotEmpty(message = "任务标识符taskKey不能为空")
    private String taskKey;
    private String cron;
    private String data;
    private Long changeTime;
    private String start;
    private String end;
}
